package com.flycms.module.soft.dao;
import java.util.List;

import com.flycms.module.soft.model.Soft;
import com.flycms.module.soft.model.SoftScene;
import org.apache.ibatis.annotations.Param;

public interface SoftSceneDao {
	int insert(SoftScene record);
	List<SoftScene> queryAll();
	int delete(Long id);
	SoftScene queryByPk(Long id);
	int update(SoftScene record);

	List<SoftScene> queryByPage(@Param(value = "scene_name") String scene_name,
						   @Param(value = "soft_id") Integer soft_id,
						   @Param(value = "orderby") String orderby,
						   @Param(value = "order") String order,
						   @Param(value = "offset") Integer offset,
						   @Param(value = "rows") Integer rows);
	int countScene(@Param(value = "scene_name") String scene_name,
				  @Param(value = "soft_id") Integer categoryId);

	int insertForEach(List<SoftScene> list);

}
 